﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FormRemoteModel.PhysicalPage.Model
{
    public class PhysicalPageSet
    {
        [NumValidate("form.id.error", 1)]
        public long FormId { get; set; }
        /// <summary>
        /// 表类型
        /// </summary>
        [EnumValidate("form.phy.page.type.error", typeof(PyFormPageType))]
        public PyFormPageType PageType { get; set; }

        /// <summary>
        /// 页面路径
        /// </summary>
        [LenValidate("form.phy.page.path.len", 0, 255)]
        [FormatValidate("form.phy.page.path.error", ValidateFormat.相对路径)]
        public string PagePath { get; set; }
    }
}
